Defense Secretary Leon E. Panetta declared on Wednesday that the United States was not trying to contain a risingChina, and he stressed that with patience and effort current tensions between the giant rivals on opposite sides of the Pacific could be resolved.