Judges at the International Criminal Court have ruled that former Philippine President Rodrigo Duterte is fit to stand trial.