Air-quality concerns have cost the theater festival about $2 million in ticket sales and led to cancellations of free outdoor performances.