Justin Trudeau's resignation marks the end of a tumultuous era, as scandals, economic mismanagement, and diplomatic blunders led to his sharp decline in popularity.