The mayor has not been accused of wrongdoing and is cooperating with federal investigators, his campaign’s lawyer said.