The wires in the switching system are not exactly hot and neutral; they are hot and disconnected. Neutral is connected to the mains (mains has two connections, hot is the high voltage connection, and neutral is the connection at around zero). In this case the wire between the bulb and mains is neutral, the disconnected wires between switches are, well, disconnected.