Justin Trudeau's resignation signals a wider political trend that has upended the liberal consensus