Holographic X-ray detection