CoLT: The conditional localization test for assessing the accuracy of neural posterior estimates