A group of kayakers captured their heart-pounding close encounter with a hammerhead shark off the San Diego coast Saturday — a sighting that prompted lifeguards to close down crowded beaches nearby.