x11/kitty: fix build
- Unoptionize internal docs building, it affects manpage and breaks the port WITHOUT_DOCS
- Backport upstream commit 49092f5 "Add new wayland top level state enum values", also unbreaking the build
PR: 285916
Approved by: maintainer timeout (nivit, almost 2 months)