Fabio Quartararo took pole position but finished 7th in the sprint as Ducati's dominance continues in MotoGP.