Justin Trudeau’s resignation as prime minister of Canada signals the departure of one of the world’s leading climate hawks.