This document shows the basics of how to use AutoVPN as a backup to an MPLS link, which is the basis of what you are trying to achieve, https://documentation.meraki.com/MX/Deployment_Guides/MPLS_Failover_to_Meraki_Auto_VPN.
The way I’d configure the MX is with the P2P on one of the LAN ports, as an access port in its own VLAN so it essentially becomes a Layer 3 link. Then configure a static route to the subnets at the other site with ‘while next hop responds to ping’ (or ‘while a host responds to ping’ if you prefer) pointing across the link. The Static route will have preference over any VPN routes so the traffic will go over the P2P link.
If the link fails then the Static route will drop out of the routing table and the VPN route will become active, sending the traffic back over the VPN link.
You won’t be able to use the point to point link for Internet traffic as you can’t set a default in the event that the Internet fails, that’s not the way the MXs work. As such you should never end up in the situation where internet traffic goes across the P2P link, unless you purposely put in a default route to do that (which means nothing will ever go out the internet links, except traffic to the Meraki cloud).
Hope this provides some guidance.