Games of age-dependent prevention of chronic infections by social distancing