A group of 19 Democrat-led states filed a lawsuit against the Trump administration over a declaration to restrict gender transition treatments for minors.