### Elasticsearch Version

8.8.1

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

Linux 5de0ae774a6f 5.10.102.1-microsoft-standard-WSL2

### Problem Description

In older versions of ES (v7.12.0 specifically), using wildcard field names in a `simple_query_string` would work properly in a percolator field. From at least version 8.7.0 and later, the wildcard expansion no longer works. Please note, fieldname wildcard expansion does seem to work properly for normal queries, just not percolated ones. See example below.

### Here is an example of it working correctly on ES v7.12.0

https://github.com/elastic/elasticsearch/assets/550842/f1022961-d5b7-4314-9e5d-c2469d323f44


### Here is an example of it not working on ES v8.8.1

https://github.com/elastic/elasticsearch/assets/550842/0f310161-c267-4b09-b530-f0a6ba0eefe5

In the example above, both `test-without-wildcard-field` and `test-with-wildcard-field` should be returned. 



### Steps to Reproduce

```
# Create index with percolator and field for various text values
PUT perc_test
{
  "mappings": {
    "properties": {
      "query": {
        "type": "percolator"
      },
      "texts": {
        "dynamic": false,
        "properties": {
          "about": {
            "type": "text"
          },
          "description": {
            "type": "text"
          }
        }
      }
    }
  }
}

# Add doc with simple_query_string percolator using a wildcard for field names
POST perc_test/_doc/test-with-wildcard-field
{
  "query": {
    "simple_query_string": {
      "fields": [
        "texts.*"
      ],
      "query": "yada"
    }
  }
}

# Add another doc with simple_query_string percolator using explicit field names
POST perc_test/_doc/test-without-wildcard-field
{
  "query": {
    "simple_query_string": {
      "fields": [
        "texts.description"
      ],
      "query": "yada"
    }
  }
}

# Percolate document. The expectation is that it will match both docs above
POST perc_test/_search
{
  "size": 10000,
  "query": {
    "percolate": {
      "field": "query",
      "document": {
        "texts": {
          "description": "yada"
        }
      }
    }
  }
}
```

Expected results:  `test-without-wildcard-field` and `test-with-wildcard-field` should be returned by the `_search` query

### Logs (if relevant)

_No response_
modules/percolator/src/main/java/org/elasticsearch/percolator/PercolateQueryBuilder.java
private static final DeprecationLogger deprecationLogger = DeprecationLogger.getLogger(ParseField.class);
    static final String DOCUMENT_TYPE_DEPRECATION_MESSAGE = "[types removal] Types are deprecated in [percolate] queries. "
        + "The [document_type] should no longer be specified.";
    static final String TYPE_DEPRECATION_MESSAGE = "[types removal] Types are deprecated in [percolate] queries. "
        + "The [type] of the indexed document should no longer be specified.";
    public static final String NAME = "percolate";
    static final ParseField DOCUMENT_FIELD = new ParseField("document");
    static final ParseField DOCUMENTS_FIELD = new ParseField("documents");
    private static final ParseField NAME_FIELD = new ParseField("name");
    private static final ParseField QUERY_FIELD = new ParseField("field");
    private static final ParseField DOCUMENT_TYPE_FIELD = new ParseField("document_type");
    private static final ParseField INDEXED_DOCUMENT_FIELD_TYPE = new ParseField("type");
    private static final ParseField INDEXED_DOCUMENT_FIELD_INDEX = new ParseField("index");
    private static final ParseField INDEXED_DOCUMENT_FIELD_ID = new ParseField("id");
    private static final ParseField INDEXED_DOCUMENT_FIELD_ROUTING = new ParseField("routing");
    private static final ParseField INDEXED_DOCUMENT_FIELD_PREFERENCE = new ParseField("preference");
    private static final ParseField INDEXED_DOCUMENT_FIELD_VERSION = new ParseField("version");
    private final String field;
    private String name;
    private final List<BytesReference> documents;
    private final XContentType documentXContentType;
    private final String indexedDocumentIndex;
    private final String indexedDocumentId;
    private final String indexedDocumentRouting;
    private final String indexedDocumentPreference;
    private final Long indexedDocumentVersion;