The candidates, grappling with economic populism and increasing concern over China’s military posture, could follow through on campaign pledges to toughen trade policy.