Gold settles higher for third day as investors await Trump-Xi meeting