Prefer wxt terminal if available

Uses the idea from http://stackoverflow.com/questions/20657816/how-do-i-check-if-a-terminal-is-available-through-my-gnuplot-script