Update to C++20 (#27178)
### Description
<!-- Describe your changes. -->
Update all builds to C++20. Previously, C++20 was only enabled for MacOS builds.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Update to C++20 standard to enable use of new language and standard library features.