Zero-resource Hallucination Detection for Text Generation via Graph-based Contextual Knowledge Triples Modeling