Capacitive touch interrupt as toggle switch …

Interrupts are not involved. Use the library function to determine the sensor state (touched/not touched), the result will be the same as if you use a mechanical switch. Then toggle your installation on/off whenever the sensor state changes from not-touched to touched.