High prices are squeezing American households days before midterm elections, even as the economy grew 3.4 percent in the third quarter.