Economists and real estate agents are calling London’s taxation of wealthy property owners a cautionary tale for New York, where leaders have endorsed a second-home tax.