Scores of federal laws limit the president’s ability to fire officials like members of the Federal Trade Commission and governors of the Federal Reserve Board.