Francesco Bagnaia got his MotoGP World Championship title defence off to the perfect start with a dominant win in Qatar.