In the first congressional hearing on monkeypox, federal officials were criticized for being slow to act, and struggling to apply the lessons of the pandemic to the current outbreak.