X said an appellate court made a "misguided and dangerous" decision in ruling against a woman who posted a photo of a trans politician in a restroom.