No, you can't refuse. By attending school (at least in the USA) you give up certain rights, and that's one of them.

They can search you anytime you're at school, for any reason, probable cause or not.