Taxonomies specific to Page attribute template

I’m not entirely sure I understand your explanation of how things are set up, or if it’s the best way to go about what you’re trying to do, but to answer your specific question-

the selected template for a page is stored in post meta under the key _wp_page_template, you can check this key to see if your case study template is selected, otherwise use remove_meta_box to hide the taxonomy for all other pages.