Ministers and officials are sounding more optimistic about the incoming administration despite challenges over Ukraine, defence spending, China and trade