Regulators have agreed to drop a lawsuit against Coinbase that sought to regulate the company as a stock exchange, marking the end of years of hard-line enforcement against the crypto market.