Heavy-quark binary scattering in the quark-gluon plasma