2M-NER: Contrastive Learning for Multilingual and Multimodal NER with Language and Modal Fusion