Light
is not keeping the Earth and Moon "in sync". Gravitational force is.[1] That force
propogates at the speed of light. It isn't light itself.
Light does play a role in illuminating the system, rendering it observable. It's a signalling component. But again, that's exogenous to the system itself. (See discussion of Maxwell's Daemon and the resolution of that paradox for the role of light in that specific thermodynamic process.)
But, and this is key: ANY clock needs some way of passing information on to the observer. From TFA, that might be light, or sound, or chemical potential (received as the smell of rotting garbage). But that is a common element, part of the signalling mechanism, but not of the timekeeping mechanism itself.
For an astronomical clock, in most cases, the regular rotational or orbital motion is the timekeeping mechanism. The signalling mechanism is entirely separate.
E.g., in the Earth-Moon system, timekeeping is noted by both the daily rotation of the Earth, and the monthly orbit of the Moon. The kinetic energy of both those regular motions is not driven in any sense, nor is it measuring a decay.[2]
The signalling comes from an exogenous light source (the Sun) which illuminates both bodies. But the Sun isn't powering the timekeeping mechanism in question. And is equally significant in providing the light necessary for you to read a wristwatch or wall clock (of a non-illuminated variety).
________________________________
Notes:
1. I'm going to leave discussion of just what gravity is and/or how it's manifested out of this discussion. Veritassium tackled this recently though: https://youtube.com/watch?v=XRr1kaXKBsU
2. Yes, there's tidal friction. That's removing energy from the system, and is measurable with sufficiently precise clocks and over time. But that's also incidental and secondary to the motions in quesiton. We could use far more remote bodies (e.g., the Earth and another planet) in which mutual tidal forces are minimal, to eliminate this consideration. Or presume tidally-locked bodies in which orbital / rotational kinetic energy and angular momentum are constant.