Stability of closed solutions to the vortex filament equation hierarchy with application to the Hirota equation