From Prompts to Constructs: A Dual-Validity Framework for LLM Research in Psychology