Couple raising a child not genetically linked to them had sought to block a court order that granted another couple's request to determine whether they are the biological parents