The historic Yorkshire pub The Windmill Inn near Wetherby has closed after 460 years in business.