Add xmpp_stanza_get_parent() function

For some reason there are functions to deal with children but not with parents. This should fix that.