Algebraic approach to the eigenstates of the quantum Calogero model confined in an external harmonic well