High-redshift quasars and their host galaxies - II. Multiphase gas and stellar kinematics uri icon