A Twitter executive’s resignation is a warning for CFOs who want the top job