The Supreme Court sounded skeptical Monday that President Donald Trump could categorically exclude people living in the country illegally from the population count used to allot seats among the states in the House of Representatives.