ci: bump the Vercel CLI to 50.31.0
Merged
SA
6h ago+4+4+0123456789-4-4-0123456789
What & why
Bumps vercel from 50.22.1 to 50.31.0 in the preview, preview-cleanup, staging and production deploy workflows. Vercel Workflow (#9906) writes "maxDuration": "max" into its generated function config, and 50.22.1 rejects it. 50.31.0 is the lowest version that accepts it. Same major.
How I tested it
This PR's preview deploy ran on 50.31.0: Deploy API, Web, Docs, Marketing, Agents Web and Database all passed. All CI checks pass (Test passed on rerun; its one failure was a flaky agent-setup test, fixed in #9981).
Rollout
Staging and production deploy in the same pipeline after merge; watch that run. Rollback is reverting the one-line change per file.