NEW YORK—The Midtown Manhattan air was filled with dangerous levels of smoke from Canadian wildfires on Tuesday evening, but that didn’t keep climate activists from gathering outside the Museum of Modern Art’s biggest gala to protest the museum’s ties with fossil fuel billionaires.