JK Rowling has accused Emma Watson of “pouring petrol on the flames” when she was suffering death threats over trans rights.