Lando Norris claimed pole position in a soaking wet qualifying session for the Brazilian Grand Prix.