Set font-path in X sessions only

Modify the font path only if there is an X session running. Otherwise
this leads to a warning about unset $DISPLAY from the xset commands.