Maine to ban offshore wind in state waters for 10 years