Kids with immune systems that react strongly to infections could have a higher risk of depression, a new study suggests.