Where I live, if you kiss someone on the hand, you're flirting with them.
If you do it when you FIRST meet them, then yes, I'd agree as you're setting a tone for the relationship.
When you do it merely to say goodnight to the third person in your party after you've just spent the evening with her AND your girlfriend, not even close to flirting.