CLUES: Collaborative Private-domain High-quality Data Selection for LLMs via Training Dynamics