The world’s largest economy and second-largest emitter of greenhouse gases will withdraw from the global climate pact, disrupting efforts to tackle climate change