Gravitational waves from color restoration in a leptoquark model of radiative neutrino masses