Canadian prime minister has sought to rally 'middle powers' to respond to an increasingly unpredictable global climate.