Ex-Crystal Palace and West Ham midfielder Cheikhou Kouyate has revealed he played his entire career with a secret heart problem.