Galois descent for the gonality of curves