Afghanistan’s Taliban rulers said they are preparing “an appropriate and calculated response” to Pakistani air strikes that killed at least 18 people in Nangarhar and Paktika provinces.