Detecting dark energy fluctuations with gravitational waves