Weighted expanders and the anisotropic Alon-Boppana theorem