Land Use Regulation by Contract