Ruling extends standing in adoption cases to those with ‘lawful custody’