CARES: Context-Aware Resolution Selector for VLMs