The justice is a potential wild card in the recent Skrimetti case around transgender rights.