Reliance on coal and a trade war with the US put the brakes on China’s goal to curb pollution with green energy plans.