Learning from Risk: LLM-Guided Generation of Safety-Critical Scenarios with Prior Knowledge