Of the 71 countries around the world in which same-sex sexual relations are illegal, it’s no coincidence that more than half are former British colonies or protectorates.