Foliated fracton order in the checkerboard model