Maxim Gorky’s 1905 full-frontal attack on the demographic is a searing depiction of helplessness in the face of violent change