Hong Kong raised its full-year growth forecast after a global investment boom in artificial intelligence supercharged exports and helped deliver the economy’s strongest first-half performance in almost five years.