A woman has been found guilty of keeping another woman with learning difficulties captive for 25 years and using her as a slave.