Lawmaker's party switch gives Greens a seat in the Maine House