South American leftist Lula takes indirect swipes at Trump in speech and warns that global threat of ‘anti-democratic forces’ persists