Second-order Karush–Kuhn–Tucker optimality conditions for set-valued optimization