Geometrical approach to excess/housekeeping entropy production in discrete systems