The conversation makes it painfully obvious that the soldier was your regular nice guy, maybe he was flirting with her but he wasn't planning to rape her or sell her off to slavers, she didn't want to even talk to an inferior race and that's not how she behaves in the house so a lot of people misunderstood her teenager rebellious like attitude for deep-rooted racism.
A soldier and a elven girl alone in a dark forest. What could possibly go wrong?
Besides, even flirting is too much for lyriel, since obviously while flirting, people are not just thinking about talking and walking......
Lyriel's problem is she still could not accept being exile, she still thinks she is the princess she used to be, anything and anyone suggesting the otherwise would cause her great anger. Especially, anyone and anything suggest she would...settle for a human.
I am not quite sure how racist she is here, whether trueborn is about race or about status. By men she could probably mean human race or commoners. There is no mention about non-trueborn elf or commoner elf, so hard to tell.