Complaint alleges issues in electronic voting machines after narrow defeat for Brazil’s outgoing president