Spectral analysis and stability properties of a relativistic deformation of the harmonic oscillator