Two men who hijacked a car in Belfast and then subjected the driver to a "prolonged and terrifying experience" have been jailed.