Quantum Algorithms for the Pathwise Lasso