SÃO PAULO—As wars reshape global energy markets, short-term priorities—from securing fossil-fuel supplies to subsidizing energy consumption—are...