Oil prices hit highest in three months as US-China trade deal takes shape