Microsoft’s sales growth for Xbox and Kinect slowed sharply last quarter, but other sectors like Windows helped the company post earnings that beat analysts’ estimates.