President Joko Widodo visited an island in waters disputed by China on Wednesday to assert Indonesia’s sovereignty amid a standoff between Indonesian and Chinese vessels.