Use new XDT feature macros

Merged Brian Tarricone requested to merge kelnos/xfce4-notifyd:new-xdt-macros into master

This also fixes things so if e.g. Wayland is disabled (but the libs are present on the system), notifyd will no longer link with Wayland libs.

Merge request reports