Israel to free Palestinian hunger strike detainee, lawyer says