Generalized framework for testing gravity with gravitational-wave propagation. III. Future prospect