Defense Secretary Robert M. Gates met his Chinese counterpart, Liang Guanglie, in Vietnam on Monday for the first time since the two militaries suspended talks with each other last winter, calling for the two countries to prevent “mistrust, miscalculations and mistakes.”