A quantum algorithm for track reconstruction in the LHCb vertex detector