autotools: use public API to check libstrophe

With the last changes to libstrophe profanity can't be built. It uses non-public parser_new() to check the library. This patch just replaces parser_new to public xmpp_ctx_new.