Miyachi’s theorem for oscillator Lie groups