Poor countries need trillions of dollars to go green. A long-shot effort aims to generate the cash