An orangutan who had been locked up in a wooden cage for two years by its captor in Western Borneo has been freed by an animal rescue organisation.