Donald Trump is the first president to appear at a Supreme Court oral argument, as he pushes to end birthright citizenship in the US.