SHANGHAI, China — Shanghai has relaxed rules on buying property in the city, as local governments across China aim to ease an agonizing real estate crisis that is dragging on the economy. Many cities ...