A field that campaigners had hoped might provide the space for a much-needed secondary school has been lost to housing.