Public-health officials in the U.S. are striving to keep tabs on thousands of Americans who have quarantined themselves at home after returning from mainland China to curtail transmission of the virus, adding to a response that is straining already-stretched local departments.