Donald Trump will pull the US, the world's second-largest climate polluter, out of the most important global treaty for tackling climate change for the second time.