A Quantum Spectral Curve approach to the cusped Wilson line and the bi-scalar fishnet theory