Mexico City is the latest major metropolitan area to impose restrictions on Airbnb — after New York City and Barcelona. Soaring housing prices have displaced many longtime residents.