"But wait, how can you perform telescopic observations in X-rays? They tend to penetrate matter (including telescopes), right?"
Correct, normal optics would not work. X-ray telescopes use grazing incidence mirror arrangement (Wolter telescope [1] [2]).