Trump administration officials worried defence minister’s June visit would have undermined negotiations with Beijing