Companies that bring solar power to some of the poorest homes in Central and West Africa are said to be among the fastest growing on a continent whose governments have long struggled to address some of the world’s worst infrastructure and the complications of climate change.