Tens of thousands of Realtors are giving up on the profession after their ranks swelled earlier in the pandemic when the housing market was soaring.