Internal kinematics of the TW Hya association of young stars