Port to 1.12 [compact() regresses L4 files to L2 when compacting mixed-level groups](https://github.com/influxdata/influxdb/issues/27230#top) PR: [fix: track max sequence globally in compact() to prevent level regression](https://github.com/influxdata/influxdb/pull/27231#top)