The relativistic jet of the γ-ray emitting narrow-line Seyfert 1 galaxy PKS J1222+0413