JK Rowling has been accused of being transphobic for her views on gender identity and for saying trans women shouldn’t be allowed into female-only spaces.