Max Verstappen set a stunning final lap to beat Lando Norris to the sprint qualifying pole at the United States Grand Prix.