X-rays from young star clusters: a complement to optical and infrared views