You don't explicitly state it, but is one of the APs extending the other, or are they both separate network IDs?
If they are participating in what used to be called a WDS extended network, then it's tricky to tell it which one to use. But if you have them operating separate SSIDs, then you can simply not store the password to the one that is furthest away and allow the macbook to not even have a choice.
If you already have the 2 routers connected over cable, then there is absolutely no need for them to broadcast the same SSID other than for neatness. Usually when you do that, it it because one it extending the range of the other by repeating the signal. This is utterly redundant in your scenario, and you are far better off forcing any traffic that enters the network on Router A to route over ethernet to Router B if it is required.
Having a repeated wireless means you have 2 possible identical access points to connect to and having it potentially connect to the wrong one, and even if it connects to the right one, it will still just subsequently pass it back to the other one over Wifi thus negating the denefit of the lovely wired link you have. It won't dump that traffic onto the local wired LAN to traverse over to the other router. WDS is for when you can't link via a cable.
There are other considerations:
Your links speed to one AP may be faster than to another, but that doesn't consider (or even tell) what the link speed "back to base" is. Imagine this. You sit 30 metres from 1 wifi AP, and 70 from another, each of you in a straight line. Your strongest signal is clearly from the one 30 meters away. However your best connection may be to do the 70 meter link to the furthest point instead, as it will be closer and likely faster than going 30 meters in one direction to what appears to be the best conection, which then needs to go 100 meteres back the other way to complete the route.
Also, don't go thinking 300Mb wireless is faster than 100Mb wired. It's not. The speeds shown are for total bandwidth speeds, not usable bandwidth. Wifi has considerable overhead that ethernet does not, including extended packet information for encrypted packets and associated handshaking etc etc that a wired LAN link will not have.
Update: Now Officially Supported
At the time this was written (May 2013), the answer below was correct. Apple introduced new hardware, the Airport ExtremeBase Station (802.11ac) (6th generation) in June of 2013, and backing up to an external drive connected to an AirPort Extreme Base Station (802.11ac) or later AirPort Time Capsule is officially supported. Unfortunately, Apple no longer makes the Time Capsule or AirPort extreme. Also note that while for a long time Apple only supported network backups using AFP (Apple Filing Protocol), they have dropped AFP in favor of current SMB (that is, SMB3) protocols. This support article seems to be getting updates as the support situation evolves.
So, in 2019, your options for wireless backups appear to be a NAS with SMB3 support and advertised Time Machine compatibility or a Mac shared as a Time Machine backup destination (see support article linked above).
Original Answer
It is not officially supported. "Time Machine can’t backup to an external drive that's connected to an AirPort Extreme, Time Capsule, or a drive formatted for Microsoft Windows (NTFS or FAT format). (Click on "Setting up Time Machine backups using an external drive" to reveal the information.)(Update August 2019: the original link now redirects you to current documentation. For historical information, see also Disks that can be used with Time Machine) This is usually because of issues with the network file system not guaranteeing that writes have completed on disk before giving a "success" status.
Best Answer
I have an old Time Capsule that I’ve had for years. Recently, I updated my laptop to Mojave and my Time machine backups still continue to work with the Time Capsule. So the answer is, yes Mojave works with Time Capsules. One thing to note is that Time Machine can only backup to HFS+ formatted disks. So make sure that the Time Capsule disk is formatted as HFS+. Which, I think, is its default format.