As Democrats battle one another in Washington, cost-of-living spikes and a slowing economy are putting growing pressures on Americans and worsening the political environment that will decide the party’s fate in the midterm elections.