Israeli Prime Minister Benjamin Netanyahu took the stand on Tuesday in his long-running trial for alleged corruption, setting off what’s expected to be a weekslong spectacle that will draw unwelcome attention to his legal woes as he faces an international arrest warrant for war crimes and the fighting in Gaza continues.