Enzyme recovery from biological wastewater treatment