Paternity uncertainty overrides sex chromosome selection for preferential grandparenting