The history of gay criminalization in the United States — mostly in the form of anti-sodomy laws — is a complex one, but let’s break it all down