To start, if you have a weight problem and are competing, you need to be riding 5-7 days a week, not 4-5. Consider a trainer workout 1-2 days a week if you are short on time. Whenever in dought, go for an easy ride.
As for the Road racing, you "hang" well beacause you are drafting. Climbing speed is so slow, that aerodynamics (drafting) don't play as big a role, so getting dropped once you hit a climb isn't surprising. Also, as a big guy, climbing will naturally be harder for you. Climb, climb, climb. That's the only way to get better.
You do well when you are at 135-165 bpm in the pack, and have trouble at 175 bpm on the MTB. On the MTB there is no drafting. No drafting plus the climbs is the reason you are hitting high heart rates and cracking at 15km.
You need to improve your overall power output. This gets complicated, because you need to train for aerobic and anaerobic power. If you are not used to higher power output (MTB racing), this will require a lot of anaerobic power to assist your weaker aerobic system. The unfortunate byproduct of "going anaerobic" is lactic acid/lactate buildup in the blood. This lowers blood PH and makes the muscles contract with less force.
Eventually you will be fatigued and be forced to slow down. A well-conditioned mountain biker might be able to go as fast as you and remain completely "aerobic", without generating much lactate at all, due to superior aerobic conditioning.
For general aerobic/ananerobic power and speed, try 3-5 minute intervals at 90+ of max heart rate. Start with 1-2 and work up to 4-8-10 or so. Do them on the flats and on climbs. Vary your cadence. Go as hard as you can to complete the distance. If you have a lot left over, you went too easy!!! Recover as needed between efforts, normally 3-5-10 minutes or so. As you get fitter, your recovery time will decrease. Do them once or twice a week.
For lactate tolerance, 60 second intervals generate the most lactic acid. Do 60 seconds with 60 seconds recovery (1-1 ratio). These are very demanding physically and mentally. It's easier to find a couple of fast training ride per week and blow yourself up on them. Attack, blow up, recover, and repeat many times. You will get better quickly. Don't overdo, once or twice a week is enough!!! Have at least 48-72 hours of recovery between these workouts. You can do them on a trainer as long as you have a very powerful fan to cool you. If you can only last 40 seconds you are going too hard. Start off with 3 minutes of work (3 intervals). Get up to 10-15 minutes of work for 60 second intervals, 15-20 minutes of work for 30 second intervals.
You should also have a lot more endurance in your legs than whatever distance you will be racing. If you are competing in 80 km races, you should be doing 130+ km once a week on any terrain and speed. A pro road rider racing for 120 miles, should do 150-200 miles once a week.
To improve you must push yourself harder (suffer)in training. The guy who wins did!!!
Good luck!!!