I have checked and found the second argument is missing in `enable_maintenance_mode` filter. Ref: https://github.com/wp-cli/wp-cli/blob/master/php/wp-settings-cli.php#L81