State media says China's Xi appears in public