BANGKOK — Citing a century-old law, the head of Thailand’s Army declared what he described as nationwide martial law early Tuesday and urged protesters who have paralyzed the government and blocked elections to “stop their movement.” The order also appeared to apply to pro-government demonstrators who are leading a separate protest.