Kinematics, rotation, and multiplicity of ultracool dwarfs with high-resolution near-infrared spectroscopy