Canadian Prime Minister Justin Trudeau insists he will lead his party to the next election.