Matthew 18:15f has to do with any contention between Christians, including whether or not to fast in particular manner on a particular day. The Church is given as a final arbiter.
It says “if your brother sins against you” It doesn’t say, “if your brother demands that you fast and you don’t think you should have to”