The justices appeared poised to turn aside government arguments that the president can deny citizenship to babies born to parents without permanent immigration status.