How can I wire two closets from one power source?
Yes, you have connected the two switches in series. Just move the black wire that runs to closet 2 from the switched side of switch 1 to the hot side of switch 1.

It is a violation of the National Electrical Code to switch the neutral.