Brenda Fitzgerald, the director of the Centers for Disease Control and Prevention, resigned on Wednesday following a report that she had invested in tobacco stocks while overseeing an agency tasked with promoting public health.