Ex-Trump official says U.S. 'less secure' due to president's actions, endorses Biden