A book that retells the true story of a couple who were shipwrecked in the 1970s and lived on a life raft for 118 days has won a prestigious £30,000 book prize.