Exchange interactions in CdMnTe/CdMgTe quantum wells under high magnetic fields