HONG KONG — HSBC said Wednesday its first-half profit declined 29 percent from a year earlier due to market volatility fueled by uncertainty about China’s economic outlook and Britain’s relationship with the European Union. HSBC Holdings PLC said its profit for the six months ending June 30 was $9.7 billion, or 32 cents per share,