I have ALWAYS tried to be conscious of the fact that when staying in a hotel, there are security cameras everywhere, even in my hotel room. I am not aware of any laws against hotels doing this, and while the shocking nature of this particular incident, in the bathroom, would likely result in a favorable verdict were it to come before a jury, it's not clear to me what specific laws the hotel is breaking.