Online brokerage Robinhood cut 23% of its staff in a second round of layoffs as trading cools and the company’s second quarter earnings drop to $318 million in net revenue.