Bagnaia holds off Marquez to win Moto2 Americas GP