Högsta domstolen har tillåtit Donald Trump att ta bort tillfälligt utvisningsskydd för 300 000 venezuelaner.