Allosteric regulation of a molecular motor through de novo protein design