China is about to become the world’s biggest green-energy market, but it’s hard for foreign firms to play