World markets, rocked by a Middle East war that could trigger ​another inflationary shock, are looking back at the play book from Russia’s invasion of Ukraine in 2022 for clues on what’s next.