Grassroots members elected the former central banker to replace outgoing Prime Minister Justin Trudeau at a convention in downtown Ottawa.