KnowPath: Knowledge-enhanced Reasoning via LLM-generated Inference Paths over Knowledge Graphs