Gender often plays a role in how car insurance companies determine rates, which can impact transgender and nonbinary people.