Do colleges know if we're in the top 10% of our class even if my school doesn't rank?

How would they?

Unless everyone from your HS applies to the same college, finding your rank would be impossible. A college can compare you to the rest of your school, using the school profile, but that’s it.