From Mozambique and Namibia to Uganda, Angola and Nigeria, TotalEnergies is placing major bets on Africa’s energy future.