A panchromatic study of the globular cluster NGC 1904. I. The blue straggler population