US judge weighs if Trump administration can lawfully halt wind projects