High-Energy Neutrinos from Magnetars