The chief executive of Liverpool City Council, Ged Fitzgerald, has resigned, just days before a crunch meeting to decide his future.