The United States and China signed a renewed science cooperation agreement on Friday, the State Department said, this time with “robust national security guardrails,” despite objections from Republicans who argue the decision should have been left to the incoming Trump administration.