Lawyer: Egypt releases activist after 30 months of detention