Transgender people running for office have faced increased challenges to their candidacy as attacks on trans rights escalate.