High-Q optical resonances with robustness based on the quasi-guided modes in waveguide moiré gratings