Dominic Thiem set up a US Open final against Alexander Zverev on Sunday after overcoming Daniil Medvedev in straight sets.