Upgraded Windows VMs to Windows Server 2022 (#2108)

- Upgraded Windows VMs to Windows Server 2022. (Had to use
`windows-2022` instead of `windows-2022-core` due to an issue of
installing vc build tools)
- Updated the setup script to work on the new Windows version. (Python
upgraded to 3.12 from 3.9, dropped python 2)

Working towards
https://github.com/bazelbuild/continuous-integration/issues/2089
2 files changed