Formal protest lodged at embassy in Beijing accuses Washington of ‘indiscriminate use of military force’