perf: support --template on perf::phases
This makes the command usable in poulpe benchmark
Meet users and developers of Mercurial at the London Sprint, May 27-29th https://mercurial-scm.org/news/2026/0001-london-sprint
This makes the command usable in poulpe benchmark