Women’s groups seek end to UK courts’ powers to jail people for own protection