Beijing city is relaxing home-purchase rules for non-residents in its latest effort to support a housing market that’s been in a prolonged slump.