Carplay over WiFi (standard connection) is CD quality. Bluetooth connection is bad. The only thing you can do is adjust the HK EQ. Even so, the HK system is not great, but there is not much of a bitrate loss from the WiFi connection that you would get over a USB connection
edit:
source for this, as the lightning connection cannot transmit higher than CD quality anyway.