Masked Generative Extractor for Synergistic Representation and 3D Generation of Point Clouds