Using touch on 2.8 inch ILI9341 LCD with ESP32

You appear to be using the default wiring. (Always a good idea to use the Author's default)

Personally, I use:

...
#define ILI9341_DRIVER
...
#if defined(ESP32)
// For ESP32 Dev board (only tested with ILI9341 display)
// The hardware SPI can be mapped to any pins

#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS    5 //15  // Chip select control pin
#define TFT_DC    13 //2  // Data Command control pin
#define TFT_RST   12 //4  // Reset pin (could connect to RST pin)
//#define TFT_RST  -1  // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST


#define TOUCH_CS 25 //21     // Chip select pin (T_CS) of touch screen

//#define TFT_WR 22    // Write strobe for modified Raspberry Pi TFT only
#endif
...

We really need to see a real photo of your wiring. I am 100% certain that Bodmer's wiring is 100% tested.

I can only report my experience i.e. my wiring works for me. I use the same wiring with ESP8266, Teensy3.2, Nucleo, ...

David.