A baby died this year after contracting whooping cough - the first fatal case of the infection in the UK this year.