Solving the Optimal Trading Trajectory Problem Using a Quantum Annealer