I am seeing the same issue as OP. I have to power off the Pi5 then power it back on for it to be seen as an HDMI input by my AVR/Projector.
I have also tried edid create but this didn't resolve this, it seems to be some sort of edid problem.
The Kodi log file is showing this error:
2024-04-22 19:04:51.263 T:963 error <general>: [display-info] Error parsing EDID:
2024-04-22 19:04:51.263 T:963 error <general>: [display-info] ----------------------------------------------
2024-04-22 19:04:51.263 T:963 error <general>: [display-info] Block 1, CTA-861 Extension Block:
2024-04-22 19:04:51.263 T:963 error <general>: [display-info] Speaker Allocation Data Block: Deprecated bit F16 must be 0.
2024-04-22 19:04:51.263 T:963 error <general>: [display-info]
2024-04-22 19:04:51.263 T:963 error <general>: [display-info] ----------------------------------------------
Does this mean anything helpful?