US Supreme Court justices have posed tough questions about the legality of President Donald Trump's directive to restrict birthright citizenship.