Basically, you can create a transit VLAN between L3 SW and MX, then you can create a static route to the destination VLAN and configure DHCP for this static route, and finally configure the IP Helper Address on the SVI with the MX IP .
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.