Joe Kent, the director of the National Counterterrorism Center, has resigned from his position over President Donald Trump's decision to go to war with Iran.