I had this issue too. The issues posted to EVDI's github get the usual "Not our problem" response. Link to issue:
https://github.com/DisplayLink/evdi/issues/61.
The only workaround I found is to disable all actions taken when lid is closed. There are settings in system settings, and there is a config file. I don't remember the file location, but I'll look for it and post an update.