The global economy is now much better equipped to handle oil-price shocks than it was in the 1970s. Yet, it’s the first time the world faces the double impact on energy prices from Ukraine and Middle East wars. Lessons from the past are imperative to avoid historical missteps