Add X11 support to the `caveats` mini-DSL

Since this applies to a few different Casks, and is easy to add.

References: #4861 .