The Treasury secretary is breaking with tradition in publicly assailing the central bank’s policies as President Trump looks for its next leader.