### CI Link

https://gradle-enterprise.elastic.co/s/ym6b3yayxtusy/tests/:x-pack:plugin:async-search:internalClusterTest/org.elasticsearch.xpack.search.AsyncSearchActionIT/testCCSCheckCompatibility

### Repro line

./gradlew ':x-pack:plugin:async-search:internalClusterTest' --tests "org.elasticsearch.xpack.search.AsyncSearchActionIT.testCCSCheckCompatibility"

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

_No response_

### Failure excerpt

In `AsyncSearchActionIT.testCCSCheckCompatibility` and `TransportTermsEnumActionTests.TransportTermsEnumActionTests` the code assumes that it can send a request that uses the current transport version (see `DummyQueryBuilder` / `VersionedNamedWriteable` ) and that will always be incompatible with the `MINIMUM_CCS_VERSION`

However since the move to `TransportVersion` it is no longer the case that a node on the next node version will be incompatible with the previous node version (which is what `MINIMUM_CCS_VERSION` tracks). In fact, immediately after a version number they will be identical - that is, `TransportVersion.current()` will be the same version as `TransportVersion.MINIMUM_CCS_VERSION`

This causes these tests to fail until the transport version is bumped.

- https://github.com/elastic/elasticsearch/blob/6420924e314c9e154617055f1c91fa9d5f084049/x-pack/plugin/async-search/src/internalClusterTest/java/org/elasticsearch/xpack/search/AsyncSearchActionIT.java#L534
- https://github.com/elastic/elasticsearch/blob/4d3fb8d9938236dd7d6de2cae614fa8a34f66862/server/src/main/java/org/elasticsearch/TransportVersion.java#L224
 
For the test to work within the current assumptions it would need to get a `TransportVersion` that is after `MINIMUM_CCS_VERSION`, but `TransportVersionUtils` doesn't offer a way to create such a version on the fly (it has to already exist).

x-pack/plugin/async-search/src/internalClusterTest/java/org/elasticsearch/xpack/search/AsyncSearchActionIT.java
request.setWaitForCompletionTimeout(TimeValue.timeValueMillis(1));
        AsyncSearchResponse response = submitAsyncSearch(request);
        assertNotNull(response.getSearchResponse());
        assertTrue(response.isRunning());
        assertThat(response.getSearchResponse().getTotalShards(), equalTo(numShards));
        assertThat(response.getSearchResponse().getSuccessfulShards(), equalTo(0));
        assertThat(response.getSearchResponse().getFailedShards(), equalTo(0));
        assertThat(response.getExpirationTime(), greaterThan(now));
        long expirationTime = response.getExpirationTime();
        response = getAsyncSearch(response.getId());
        assertNotNull(response.getSearchResponse());
        assertTrue(response.isRunning());
        assertThat(response.getSearchResponse().getTotalShards(), equalTo(numShards));
        assertThat(response.getSearchResponse().getSuccessfulShards(), equalTo(0));
        assertThat(response.getSearchResponse().getFailedShards(), equalTo(0));
        response = getAsyncSearch(response.getId(), TimeValue.timeValueDays(10));
        assertThat(response.getExpirationTime(), greaterThan(expirationTime));
        assertTrue(response.isRunning());
        assertThat(response.getSearchResponse().getTotalShards(), equalTo(numShards));
        assertThat(response.getSearchResponse().getSuccessfulShards(), equalTo(0));
        assertThat(response.getSearchResponse().getFailedShards(), equalTo(0));
        AsyncStatusResponse statusResponse = getAsyncStatus(response.getId());
        assertTrue(statusResponse.isRunning());
        assertTrue(statusResponse.isPartial());
        assertThat(statusResponse.getExpirationTime(), greaterThan(expirationTime));
        assertThat(statusResponse.getStartTime(), lessThan(statusResponse.getExpirationTime()));
        assertEquals(numShards, statusResponse.getTotalShards());
        assertEquals(0, statusResponse.getSuccessfulShards());
        assertEquals(0, statusResponse.getFailedShards());
        assertEquals(0, statusResponse.getSkippedShards());