An appointee of former president Rodrigo Duterte to the Supreme Court who has been in the legal profession for more than three decades is the country’s next chief justice.