Endangered gibbon rescued from the pet trade