The rising costs of housing and medical care drove a modest gain in US consumer inflation last month, according to official figures published Wednesday. And within the data, one key measure of annual inflation posted its first increase since January, giving a flicker of hope to US central bankers who have long awaited the return of…