For many Americans, the Iran war registers not through casualties but through prices, an economic pressure that history shows can rapidly become political backlash.