Lando Norris mastered the treacherous conditions to take pole position at the Las Vegas Grand Prix from Max Verstappen.