Refactor Java Test Pipeline (#25608)
### Description
We have a big packaging pipeline that build nuget/java/nodejs packages.
After that we run these. This PR split the tests to a dedicated pipeline
and refactored the code that use maven to download deps instead of using
direct HTTP fetch. The new approach allows us to use Azure DevOps
artifacts as an internal mirror to meet network isolation requirements.
Thsi PR also enabled WebGPU and CoreML EP tests for java package on macOS.
This PR also updated tools/python/run_packaging_pipelines.py a little
bit to add the support for RC releases.
### Motivation and Context
Make the packaging pipelines smaller and easier to use.