Ghana has pulled out of talks on a multi-year US aid deal after Washington allegedly demanded access to citizens’ personal data.