Lie symmetries and superintegrability in quantum mechanics