The US-Iran war’s energy shock could keep global inflation elevated, with rising oil, food, and borrowing costs adding pressure on households and governments.