The CALYMHA survey: Lyα luminosity function and global escape fraction of Lyα photons at z = 2.23