New York and six other Democratic-led states are challenging the Trump administration’s controversial efforts to pay private energy firms to abandon their U.S. offshore wind projects.