Kodi restarts after monitor is turned on

The system can not read the EDID when the screen is off.

Why using a media center headless? :rofl:

You can stop/start/disable the kodi.service to have a “headless” system.
Or you can try to dump disp_cap: