You are correct. The MX can only inspect traffic it sees. It will not see intervlan traffic where a switch is the home of the vlan.
You would need to use switch ACLs.
You could also use 802.1x solutions in combination with group or adaptive policies
If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.