Beijing hopes that nudging Tehran into a cease-fire buys goodwill for May summit between the president and Xi Jinping.