"Who(m) do you want to leave here?"
Use either. In formal contexts, use 'whom', as it is the direct object of 'leave'. [There's a risk, though, that - if you use 'who' - any listener (formal or informal) may assume that it's the subject of the verb, and that you're making the mistake I warn about in red.]
can mean "You want who(m) to leave here?"
Besides, if you said 'You want who to leave here' a native speaker would think that - as the syntax is foreign, but as 'who' seems like the subject of 'leave' - you were mispronouncing 'You want who to live here.'
or "You want to leave who(m) here?"
OK if you put clear stress on the who(m). This sort of stressed echo-question is necessarily informal, so I'd expect 'who' in most cases.
Which would a native speaker usually interpret that as?