A federal judge ruled against the White House on wind energy, allowing construction to resume in 17 states and the District of Columbia.