SF: Move/refactor presentation loop to CompositionEngine

This introduces CompositionEngine::present(), which will be the entry
point for performing all composition related work.

Test: atest libsurfaceflinger_unittest libcompositionengine_test
Bug: 121291683
Change-Id: I5980da7fd471ad0920f6737698c214ed5ee07c60
9 files changed