Did our Noble Prophet (may peace and blessings be upon him) make duas for the Quraysh who hit him and called him bad names (magician, liar, poet, madman)
Yes, he did.
When the Quraysh were dying of famine, the Prophet (ﷺ) prayed for rain to ease their misery.
Another example is the Prophet's (ﷺ) dua for either Abu Jahl (staunch enemy) or Umar Ibn Al Khattab (not a Muslim at the time) to embrace Islam, which was answered when Umar Ibn Al Khattab (RA) was guided and became Muslim.
A third example is the mother of Abu Huairah who insulted the Prophet (ﷺ) yet upon request the Prophet (ﷺ) prayed for her guidance and she ended up embracing Islam, making Abu Huraiah (RA) very happy.
The list of examples goes on.