We don't live in a disconnected society; if someone falls on the side of the road and cracks their head open, we don't leave them in the ditch to die, rot, and disappear. We pick them up, take them to a hospital, provide acute medical care, and potentially provide life-long care in the case of a disability. So society has a strong interest in preventing injuries.
(Two asides: this doesn't address the efficacy issue, but if helmets prevent injuries, then it is reasonable by the above argument to mandate their use. Secondly, it is arguable that motorcycle riders who don't wear helmets provide more to society through organ donation than they take in life-long medical treatment.)