In addition to the answer by egreg - the command \RaggedRight from ragged2e package does not have this issue. This works:
\usepackage{array},\usepackage[originalparameters]{ragged2e} % The option prevents hyphentation rather than making it rare \newcolumntype{x}[1]{>{\RaggedRight}p{#1}}