Ducati's Francesco Bagnaia snatches pole position at Le Mans, denying Marc Marquez after his record-breaking lap.