Oscar Piastri claimed a crucial pole position for the Qatar Sprint, beating George Russell and McLaren team mate Lando Norris to the top spot.