Enhancing Uncertainty Modeling with Semantic Graph for Hallucination Detection