Justin Trudeau has announced his resignation as leader of the Liberal Party