Charles Leclerc hoooked his Ferrari up on his final lap in qualifying to take pole from Sergio Perez and Max Verstappen at the Azerbaijan Grand Prix.