Convert a lineage ndarray (trap, mother_id, daughter_id) into a dictionary of lists ( mother_id ->[daughters_ids] )