A tissue checkpoint regulates type 2 immunity