To move away from relying on Russian energy, the European Union is increasingly turning to Africa for natural gas imports — and Algeria, Niger and Nigeria are looking to cash.