A few MPs flouted a ban on taking photos inside Parliament this week, as they tweeted about the Brexit vote. Kelly Grovier finds echoes in an 18th-Century painting of a Masonic lodge.