The lawsuit represents the latest twist in a yearslong dispute between developer Avangrid and NextEra, one of the largest power companies in the U.S.