Top national-security officials are preparing for the president of the United States to refuse to listen to the election results, even when they are officially declared.