Gold prices edged closer to record territory on Tuesday, supported by renewed safe-haven demand after the US captured Venezuela’s president, an event that has heightened geopolitical tensions.