Port upstream change: `CheckpointService refactoring (for data quarantining) (#20838)` https://github.com/MystenLabs/sui/commit/75ea5e3db4ac90397f25087ad9f6eb388ea53a4b (PR: https://github.com/MystenLabs/sui/pull/20838)