Effect of the Matrix Structure on the Tribological Properties of Solid-Lubricant Composites Based on High-Temperature Polyimide Thermoplastics