Advancing human-centric AI for robust X-ray analysis through holistic self-supervised learning