Prevent SQL injection in delete category query

Escape the input of the $_GET value to add protection against SQL injection attacks.

https://www.owasp.org/index.php/SQL_Injection
https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet