The Toronto Maple Leafs, who this week announced sweeping front office changes, won the lottery for the first pick in the NHL draft on Tuesday, a victory at a critical time for a franchise that failed to make the postseason for the first time since 2016.