Constraints on the orbit of the young substellar companion GQ Lup B from high-resolution spectroscopy and VLTI/GRAVITY astrometry