A kayaker has said he thought he was going to die when he was swallowed by a humpback whale.