Thousands protest in Manila as Duterte jails top critic