Smartwatches could prevent pandemics by telling people to isolate before they unwittingly spread illnesses.