Scaling of P -wave excitation energies in heavy-quark systems