When would it be appropriate to ask 'Has she ever shown any signs of liking females before'?

There is no "appropriate" time to ask such a question but when your having a casual conversation and she is in an ok mood would be the best in case she gets offended.