The first observed stellar X-ray flare oscillation: Constraints on the flare loop length and the magnetic field