Judge rejects lawsuit tied to controversial 2017 Montreal Formula E car race