Upgrade Bazel to 5.1 and enable Java 11 support.
Upgrade Bazel to 5.1 and enable Java 11 support.

PiperOrigin-RevId: 442862539

google/jsinterop-generator,google/jsinterop-generator,google/jsinterop-generator