Some African leaders argued the potential benefits for people on the world’s poorest continent outweighed the harm from the production and export of fossil fuels