A campaign to change the flag representing Northern Ireland at the Commonwealth Games is “ill-advised” and should be scrapped, a Stormont minister has said.