Yelp logged higher revenue in the latest quarter from growth across its home-services business, which offset continued softness across the restaurant industry.