The request to remove Sarah Boardman’s 2019 oil painting was said to have come from Republican state legislators