Few-Shot Optimized Framework for Hallucination Detection in Resource-Limited NLP Systems