Former Hoyer aide wins MD primary