Text this: Quantum algorithm for gravitational-wave matched filtering