GRETE: Enhancing Geomagnetic Indoor Localization with Relative Trajectory Encoding | Synapse