In a ritual of summer, China’s leaders have been holding an unofficial retreat at a beach resort ahead of a key fall Communist Party congress at which President Xi Jinping will launch his second five-year term as party chief and move to cement his status as China’s most powerful leader in decades.