A suspected compromise at South Korea’s diplomatic academy is a reminder that foreign-policy institutions can be prized targets even when the technical path remains hidden.