Enanta Pharmaceuticals Inc.’s treatment for a highly contagious respiratory infection met the main goal of reducing virus levels in the body in a mid-stage study.