How does water exist within the frost line of a star?
When you talk about the frost line you are talking about a protostar, and its protoplanetary disk, not an actual star. So, there is no empty space nor strong solar winds.

Inside the frost line, water does not condense into ice grains, but the individual molecules could as well become attracted by the planets-to-be.