text: Title: [Lens] Pass the uiSettings default language to filters aggregation
  Body: **Describe the feature:**
  Can be done after merging https://github.com/elastic/kibana/pull/75635
  Right now we use 'kuery' as a default language in filters aggregation, but in the future we want this setting to come from uiSettings. The implementation details can be found below (by Joe):
  
  It looks like there are three cases where the default query is required: When adding a new filter using the add button in the UI (which has access to `data`), when initializing an empty filters array (in buildColumn) and when writing the esaggs config. The one in buildColumn could be omitted because it will be caught by the logic in toEsAggsConfig and in the UI anyway.
  
  To solve it cleanly we could extend `toEsAggsConfig` to also pass in `data`. This is a change scoped in the index pattern datasource. To do so, 
  https://github.com/elastic/kibana/blob/ddf99b64db371f22f6752adc50648fcf2ff413fb/x-pack/plugins/lens/public/indexpattern_datasource/to_expression.ts#L129
  
  has to be replaced by a generator function to pass in the reference and keep it in a function closure:
  ```ts
  
  export function getToExpression(data: DataStart) {
   return function toExpression(state: IndexPatternPrivateState, layerId: string) {
    if (state.layers[layerId]) {
      return getExpressionForLayer(
        state.indexPatterns[state.layers[layerId].indexPatternId],
        state.layers[layerId].columns,
        state.layers[layerId].columnOrder,
        data
      );
    }
  
    return null;
  }
  }
  ```
  
  Then it can be passed through like this:
  
  https://github.com/elastic/kibana/blob/e82e53655d97763bbb8cbf48297d30f5e1b59ffe/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx#L193
  
  https://github.com/elastic/kibana/blob/ddf99b64db371f22f6752adc50648fcf2ff413fb/x-pack/plugins/lens/public/indexpattern_datasource/to_expression.ts#L129
  
  https://github.com/elastic/kibana/blob/ddf99b64db371f22f6752adc50648fcf2ff413fb/x-pack/plugins/lens/public/indexpattern_datasource/to_expression.ts#L24
  
  https://github.com/elastic/kibana/blob/fdbf1ae7199f06c7511b7aae3e709d2c4dd0f430/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/filters/filters.tsx#L144
  
  https://github.com/elastic/kibana/blob/fdbf1ae7199f06c7511b7aae3e709d2c4dd0f430/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/filters/filters.tsx#L154
  
  For `buildColumn` it's pretty similar - we call it in the dimension panel and popover editor (which have access to `data` already, so that's easy) and in suggestions. For suggestions, we would need to do the same thing as described above for `toEsAggsConfig`.
  