Wall Street is grappling with sharp declines in revenue after parts of the industry involved in taking companies public and issuing stocks and bonds seized up.