Add statically analyzed Go route and proxy configuration (#101551)
### What?
Add static matcher configuration for experimental Go proxies and a
`MaxDuration` declaration for Go routes.
### Why?
Go handlers need matching and duration controls without executing
application code during discovery. Invalid proxy configuration must
prevent requests from bypassing the proxy.
### How?
Use one entry-file syntax query for handlers and static configuration.
HTTP method functions must be declared in `route.go`, and `Proxy` must
be declared in `proxy.go`; sibling files compile as helpers. Publish
validated configuration through native descriptors, manifests, routing,
and adapter output.
Reject computed configuration and invalid duration types. Failed proxy
compilation or configuration installs routing error state until
recovery, without loading a stale descriptor. Missing entry-file `Proxy`
declarations produce a normal build diagnostic.
### Verification
- Rebuilt the native binding from source and passed Rust formatting and
`cargo clippy -p next-api --all-targets --offline -- -D warnings -A
deprecated`.
- Next.js build, root TypeScript, formatting, ESLint, and documentation
checks passed.
- Seven focused development, production, and emitted-adapter cases
passed with the rebuilt binding and `NEXT_SKIP_ISOLATE=1`. They verify
sibling helpers remain usable, sibling HTTP method names are not
exposed, and `Proxy` must be declared in the entry file.
- Hosted Go deployment tests require companion adapter/builder releases;
emitted adapter executables were exercised locally.
<!-- NEXT_JS_LLM -->
---------
Co-authored-by: vercel-v[bot] <353008837+vercel-v[bot]@users.noreply.github.com>
Co-authored-by: Tim Neutkens <6324199+timneutkens@users.noreply.github.com>