Joe Kent, the director of the National Counterterrorism Center, has announced his resignation over his opposition to the war against Iran.