HOUSTON—The past 12 months brought new climate extremes, with Pakistan’s devastating floods and record-melting of Antarctica’s sea ice as just two examples. But when the world’s top oil executives gathered for an annual conference in Houston this week, they were focused instead on the war in Ukraine and the painful reminder it delivered of the global economy’s persistent dependence on oil and gas.