Oil and gas lease ban upheld in court, could set stage for future block in New Mexico