Higher-order topological insulator in a dodecagonal quasicrystal