Gravitational waves from a scotogenic two-loop neutrino mass model