autoconf: cleanup X11 and pango checks
simplify configure.ac a bit due to libunique being mandatory now