Anderson Cooper’s ex-boyfriend will co-parent his newborn son