### Elasticsearch Version

8.11.0

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

MacOS

### Problem Description

When sending a ESQL query with the `enrich` command that involves a policy that does not existing a `NullPointerException` is thrown and shown as error messages to the user:

Query:
```
row a  = 1| enrich missing-policy
```

Returns:
```
null_pointer_exception - Cannot invoke "org.elasticsearch.xpack.core.enrich.EnrichPolicy.getMatchField()" because "policy" is null
```

### Steps to Reproduce

See above.

### Logs (if relevant)

_No response_
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java
| eval foo = 1, x = point
            """, errorMsg);
        verifyUnsupported("""
            from test
            | eval x = 1 + point
            """, errorMsg);
    }
    public void testUnsupportedFieldsInWhere() {
        var errorMsg = "Cannot use field [point] with unsupported type [geo_point]";
        verifyUnsupported("""
            from test
            | where point == "[1.0, 1.0]"
            """, errorMsg);
        verifyUnsupported("""
            from test
            | where int > 2 and point == "[1.0, 1.0]"
            """, errorMsg);
    }
    public void testUnsupportedFieldsInSort() {
        var errorMsg = "Cannot use field [point] with unsupported type [geo_point]";
        verifyUnsupported("""
            from test
            | sort point
            """, errorMsg);
        verifyUnsupported("""
            from test
            | sort int, point
            """, errorMsg);
    }
    public void testUnsupportedFieldsInDissect() {