Efficient capture of lead ion and methylene blue by functionalized biomass carbon-based adsorbent for wastewater treatment