Contrastive Learning for Character Detection in Ancient Greek Papyri