It is the UK that should be suing the Republic of Ireland on legacy, not the other way round, the Ulster Unionist Party leader has said.