Petitions have piled up at the country's Supreme Court to overturn the new legislation championed by President Rodrigo Duterte, which could jail suspects without charge for weeks.