U.S. consumers haven’t stopped spending since the Iran war drove up fuel prices. But company executives and retail analysts say many shoppers are reassessing what they buy and where.