Subharmonic self-locking of a Josephson soliton oscillator coupled to a resonator