RAGFormer: Learning Semantic Attributes and Topological Structure for Fraud Detection