US appeals court rejects Trump's emergency bid to curtail birthright citizenship