Francesco Bagnaia kicked off his MotoGP title defence with victory in a thrilling Qatar Grand Prix