Loop equations and a proof of Zvonkine's $qr$-ELSV formula