For their flagship gathering, President Biden and Democrats chose a city in the heart of a battleground region, which had argued that it embodied the party’s liberal values.