X-Reasoner: Towards Generalizable Reasoning Across Modalities and Domains