I'm surprised you're blind as to how wrong it is. You're just taking advantage of Chinese people's unwillingness to make a fuss, especially towards a foreigner.
Next time, wait in line like the rest of us.
In fact, many young Chinese people are nice enough to allow others, Chinese or not, in a real rush to jump the queue just to pick up tickets. If in a real rush, just kindly ask them, but to be safe and as a courtesy to others in line, allow plenty of time to wait in the train station.