Keep custom-route metadata outside configuration (#99508)
## Summary
Loading custom routes currently writes original redirects and rewrites
onto resolved configuration. Return the redirect metadata with the
loaded routes for client-router filtering, and remove the unused rewrite
snapshots and obsolete webpack arguments.
This removes post-load config writes as part of making completed
configuration immutable for adapters and other runtime consumers.
## Verification
- Existing configured rewrites and redirects suite: 14 tests passed in
development with both bundlers and in production with webpack.
- Existing middleware redirect test exercises client navigation through
a configured redirect with client-router filtering enabled in
development with Turbopack and production with webpack.
- Existing custom-route loader and next-types-plugin unit tests.
<!-- NEXT_JS_LLM -->