The outgoing head of the nation’s top public health agency urged the next administration to maintain its focus and funding to keep Americans safe from emerging health threats.