Pauline Hanson will be the deputy chair of a parliamentary inquiry into the family law system.