Pro-democracy publisher Jimmy Lai has taken the stand for the first time since his arrest on national security charges.