The West Yorkshire council has rejected the application to fell an oak tree next to a secure wing