Pinterest Inc. has laid off some of its recruiting team and plans to slow hiring for the rest of the year, a representative said.