High-frequency gravitational wave detection via optical frequency modulation