libcaca: make x11 dependency non-optional

Closes #28291.