A New York Frito-Lay facility that makes PopCorners snacks will close in May, laying off the plant’s 287 workers.