Public health workers from different corners of Maryland told state lawmakers Tuesday that they felt threatened by residents and undermined, and even retaliated against, by leadership at the state health department during the past two years of the coronavirus pandemic.