Private lives turn public as students pair up for a school project that takes them into each other’s homes. But deep divisions spark tension.