Extend the remote endpoint conflict check to `codex resume` and `codex fork` so
conflicting root and subcommand `--remote` values report a command-specific
error before authentication token lookup.
Add regression coverage for both commands with conflicting endpoints and an
unset authentication token environment variable.
GitOrigin-RevId: 7fb7bc3f05d8d17d740b0d82c7cd9b327426c1fb