Light-activated DNA binding in a designed allosteric protein