Stellar kinematics and environment at z ~ 0.8 in the LEGA-C survey: massive slow rotators are built first in overdense environments