South Korea president says ‘not ruling out’ direct weapons to Ukraine