jed: add optional X11 support (xjed)

Closes #27367.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>