The Spaniard conquered the tricky conditions at Losail to take victory ahead of Dovizioso and Marquez