A former head of the CIA endorsed Clinton, calling Trump a “threat to our national security”