Enhanced Interplay between Host–Guest and Spin-Crossover Properties through the Introduction of an N Heteroatom in 2D Hofmann Clathrates