[Bug][Prism]: unsupported feature "WindowStrategy.AllowedLateness" set with MaxTimestamp.

Several Java tests fail on Prism with the error:

unsupported feature "WindowingStrategy.AllowedLateness" set with value 9223372036854775

Steps to reproduce:

  1. Run Prism server.
./gradlew :runners:prism:runServer
  1. Execute :runners:portability:java:ulrLoopbackValidatesRunnerTests on Prism:

Many tests fail with these errors, but to see the output of one quickly:

TEST=org.apache.beam.sdk.transforms.ReshuffleTest
./gradlew :runners:portability:java:ulrLoopbackValidatesRunnerTests -PjobEndpoint=localhost:8073 --tests="$TEST"

Parent tracker: #28187
Related: #31438