Pennsylvania bar president resigns after he’s charged with patronizing a prostitute