When using this tactic, a Tower is probably the best choice. Position the golems so that the enemy cannot exit through the gates – this will provide solid defense. Their health and armor are sufficient for this purpose... Moreover, golems have magic resistance and do not restore health to vampires.
And strong archers can quickly eliminate the liches...