Magnetic field-induced transition with spin rotation in the superconducting phase of UTe2