Recovery and encapsulation of heavy metals on refinery spent hydrotreating catalyst