Update java_tools-release.yml (#2940)

### Issue description
Broken after
https://github.com/bazelbuild/continuous-integration/pull/2850 which
enabled https://peps.python.org/pep-0668/

### How this PR solves it
Use a venv for pip install.

### Testing
n/a
1 file changed