Mysql: set variable in mysqldump
I believe you should be able to specify a session variable by placing it in a backup.cnf file:

max_statement_time=10000


And then using the --defaults-file=backup.cnf parameter to mysqldump.

(You can also place user credentials in that file so that you don't have to show the username and password on the command-line, which is a potential security issue.)