Efficient Learning of Continuous-Variable Quantum States