You can use a tame with high health stat and leave it in front of the Voidwyrm to attack it, then you can shot at it from a safe distance with out it following you or moving away.

A high Level Snow Owl with high health stats work very will for me.

More Voidwyrm Taming & KO Tips