Nestle is to close a confectionery production plant in the UK as part of plans to merge its manufacturing of "seasonal" products in the country into one site.