text: Title: [Event log][7.x] Update event log client to search across legacy IDs
  Body: Relates to https://github.com/elastic/kibana/issues/100067
  Blocked by https://github.com/elastic/kibana/issues/56771
  
  In https://github.com/elastic/kibana/issues/108075, we are adding a new field to every rule saved object that points to the legacy ID (which is the current ID in 7.x but will potentially differ from the ID in 8.0). To support this new field, we need to change the event log client to accept this new ID field and use it in the query to ensure we find all relevant logs. 
  
  There is a chance that we will encounter a conflict scenario, where a legacy ID matches some migrated ID. In this case, we need to rely on [this change which will add the version to the event log](https://github.com/elastic/kibana/issues/56771) and handle that in our query appropriately.
  
  See [the PoC PR](https://github.com/elastic/kibana/pull/107611) for more insight into how this might work.