A KQZ algorithm for solving linear-response eigenvalue equations