A baby whose mother was not vaccinated against whooping cough died of the disease this year, public health data shows.