Thinking to recall: How reasoning unlocks parametric knowledge in LLMs