 Pinterest Inc. has laid off some of its recruiting team and plans to slow hiring for the rest of the year, a representative said, making the online image and idea-sharing platform the latest social-media company to let go of staff amid a wobbly digital-ad market. 