Micro-opto-electro-mechanical system for X-ray focusing