The Canadian leader’s Davos speech is a masterclass in realism—and an overdue admission of hypocrisy.