Bullshit. The comment started with "I'm curious..." I am curious as well, because as I try to be empathetic, it is difficult because I cannot create a scenario in my mind where a cop asks about my gender. So instead of just blowing it off as "$DISPARAGING_WORD_FOR_TRANS's had it coming" or whatever an unsympathetic phrasing would be, I'd rather be sympathetic by asking, "help me out here, how do the difficulties that you face (that I apparently don't) play out?"
But you call that "victim blaming". It's one of the reasons we don't get nice things.