The FHFA director joins a number of financial regulators resigning from their posts before the second Trump administration begins.