Hospitals are using artificial intelligence to slash wait times in emergency departments this winter.