ci: upgrade to Node.js 22 (#10374)
### Description
Upgrading our repository to Node.js 22 by reducing our source of truth
to the value in `package.json#engines`.
Notably, this PR also adds Node.js 22 to the JS package test matrix.
### Testing Instructions
CI