Primordial black holes and scalar-induced secondary gravitational waves from inflationary models with a noncanonical kinetic term