A Republican lawmaker in Maine has sued the state’s Democratic House speaker over her censure that followed a social media post about a transgender athlete participating in high school sports.